package www.ld.com.domain.user.pojo;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import www.ld.com.dictionary.SexStatusEnum;
import www.ld.com.dictionary.UserStatusEnum;
import www.ld.com.domain.pojo.BasePO;

@TableName("sys_user")
@Data
@Accessors(chain = true)
@ToString
@EqualsAndHashCode(callSuper = true)
public class UserPO  extends BasePO {

    private String name;
    private String username;
    private String password;
    @EnumValue
    private UserStatusEnum status;
    private Long departmentId;
    private String phone;
    private String email;
    @EnumValue
    private SexStatusEnum sex;
    private String remarks;
}
